package com.neu.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import com.neu.entity.Disecategory;





@Service
public interface DisecategoryService {
		public List<Disecategory> getAllDiseCategory(@Param("dicaName") String dicaName,@Param("dicaType") int dicaType);

		public boolean addDiseCategory(Disecategory disecategory);

		public boolean updateDiseCategory(Disecategory disecategory);

		public List<Disecategory> pageDiseCategoryQuery(@Param("page") int page,@Param("limit") int limit,@Param("dicaName") String dicaName,@Param("dicaType") int dicaType);

		public int pageDiseCategoryTotal(@Param("dicaName") String dicaName,@Param("dicaType") int dicaType);
		
		public boolean delereDiseCategoryQuery(@Param("id") int id);
}
